<template>
	<view :style="themeColor">
		<view class="page">
			<view
				class="flex flex-direction flex-wrap align-stretch justify-center benben-position-layout flex aboutUs_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-stretch justify-between aboutUs_fd0_0'>
					<view class='flex flex-wrap align-center aboutUs_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  aboutUs_fd0_0_c0_c0'>&#xe794;</text>
					</view>
					<view class='flex flex-wrap align-center'>
						<text class='aboutUs_fd0_0_c1_c0'>关于我们</text>
					</view>
					<view class='flex align-center justify-end aboutUs_fd0_0_c2'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---版本flex布局开始-->
			<view class="flex flex-direction flex-wrap align-center">
				<image class='aboutUs_fd1_0001' mode="aspectFill" src='/static/images/logo1.png'></image>
				<text class='aboutUs_fd1_1_c0001'>{{Copyright.project_name}}</text>
				<view class='flex flex-wrap align-end aboutUs_fd0_0_c2001' v-if=" appSystemIdentification!='Wechat'">
					<text class='aboutUs_fd1_1_c0'>当前版本</text>
					<text>{{appVersion}}</text>
				</view>
			</view>
			<!---版本flex布局结束-->
			<view class='flex flex-wrap align-center justify-between setUp_fd1_0' @tap.stop="handleJumpDiy"
				data-type="navigateTo" :data-url="`/pages/login/filings/filings`">
				<text class='setUp_fd1_0_c0'>证照信息</text>
				<text class='fu-iconfont2  system_fd2_0_c0_c1'>&#xE7F2;</text>
			</view>
			<view class="flex flex-direction align-center justify-between benben-position-layout flex aboutUs_flex_2">
				<text class='aboutUs_fd2_0'>{{Copyright.copyright_info}}</text>
				<text class='aboutUs_fd2_0'
					@tap.stop="toWaiUrl(Copyright.record_url)">备案号：{{Copyright.record_number}}</text>
			</view>
			<view :style="{height: '88rpx'}"></view>


		</view>
	</view>
</template>
<script>
	import {
		validate
	} from '@/common/utils/validate.js'

	export default {
		components: {},


		data() {
			return {
				"Copyright": {
					"project_name": "",
					"copyright_info": "",
					"create_time": "",
					"logo": ""
				}
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},
			/**
			 * @returns 
			 * Android       安卓
			 * IOS       苹果
			 * Web       H5 或 pc
			 * Wechat       微信小程序
			 * Alipay       支付宝小程序
			 * Baidu       百度小程序
			 * ByteBounce       抖音小程序
			 * 360       360小程序
			 * FastApp       快应用
			 */
			appSystemIdentification() {
				return this.$store.state.appSystemIdentification
			},
			appVersion() {
				// 获取版本号
				return this.$store.state.appVersion
			}
		},
		watch: {},
		onLoad(options) {
			this.getDataFunc()
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {
			this.$store.dispatch('getAppVersion') // 更新版本号
		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			toWaiUrl(url) {
				// #ifdef APP
				plus.runtime.openWeb(url);
				// #endif
			},
			//获取版权信息
			async getDataFunc() {
				//请求方法
				//数据验证

				let dataCopyright = await this.$api.get(global.apiUrls.post63ec8b1e9b32b, {
					aid: '3'
				});

				if (dataCopyright.data.code != 1) {
					this.$message.info(dataCopyright.data.msg);
					return
				}
				let infoCopyright = dataCopyright.data;
				this.Copyright = infoCopyright.data

			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #fff;
		background-size: 100% auto;
	}

	.aboutUs_flex_0 {
		border-bottom: 1px solid #eee;
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.aboutUs_fd0_0_c2 {
		padding: 0rpx 0rpx 0rpx 0rpx;
		width: 100rpx;
	}

	.aboutUs_fd0_0_c2001 {
		// margin: 20rpx 0rpx 0rpx 0rpx;
	}

	.aboutUs_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333333;
		line-height: 50rpx;
	}

	.aboutUs_fd0_0_c0_c0 {
		font-size: 36rpx;
		font-weight: 400;
		color: #333;
	}

	.aboutUs_fd0_0_c0 {
		width: 100rpx;
	}

	.aboutUs_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		line-height: 88rpx;
	}

	.aboutUs_fd1_1_c0 {
		font-weight: 400;
		color: #333;
		font-size: 28rpx;
		// margin: 32rpx 0rpx 0rpx 0rpx;
	}

	.aboutUs_fd1_1_c0001 {
		font-weight: 400;
		color: #333;
		font-size: 28rpx;
		margin: 40rpx 0rpx 20rpx 0rpx;
	}

	.aboutUs_fd1_0 {
		width: 180rpx;
		height: 180rpx;
		border-radius: 16rpx;
		margin: 90rpx 0rpx 0rpx 0rpx;
	}

	.aboutUs_fd1_0001 {
		width: 505rpx;
		height: 150rpx;
		margin-top: 120rpx;
	}

	.aboutUs_flex_2 {
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		bottom: calc(80rpx + var(--window-bottom));
	}

	.aboutUs_fd2_0 {
		color: #BFBFBF;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 45rpx;
	}

	//
	.setUp_fd1_0 {
		margin: 100rpx 200rpx 0rpx 200rpx;
	}

	.setUp_fd1_0_c0 {
		font-size: 32rpx;
		font-weight: 400;
		color: #333333;
	}

	.setUp_fd1_0_c1 {
		width: 14rpx;
		height: 26rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 32rpx 0rpx 0rpx;
	}

	.system_fd2_0_c0_c1 {
		font-size: 26rpx;
		color: rgba(191, 191, 191, 1);
	}
</style>